using System.ComponentModel.DataAnnotations;

namespace UniversalAdmin.Application.DTOs;

public class RolePermissionDto
{
    [Required]
    public Guid RoleId { get; set; }
    
    [Required]
    [MinLength(1)]
    public List<Guid> PermissionIds { get; set; } = new();
    
    public List<Guid>? MenuIds { get; set; } = new();
}
